package com.estate.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.estate.util.JsonResult;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_activity")
public class Activity implements Serializable {
    @TableId
    private String id;
    //private String communityName;
    private String communityId;
    private String title;
    private String address;
    private String organizer;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;
    private String startTime;
    private String endTime;
    private Integer status;
    private Integer isDelete;

    @TableField(exist = false)
    private JsonResult quarters;
}
